package com.rd.sys.dto.client.analysis;

import java.util.LinkedList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.rd.sys.dto.client.store.Answer;
import com.rd.sys.dto.client.store.Data;

public class SchemeResultData {

    @JsonProperty("code")
    private String code;

    @JsonProperty("name")
    private String name;

    @JsonProperty("answers")
    private List<Answer> answers;

    /** 原始数据 */
    @JsonProperty("rawData")
    private List<Data> data = new LinkedList<Data>();

    /** 注视点数据 */
    @JsonProperty("fixData")
    private List<FixData> fixData = new LinkedList<FixData>();

    @JsonProperty("Duration")
    private Long duration;

    public Long getDuration() {
        return duration;
    }

    public void setDuration(Long duration) {
        this.duration = duration;
    }

    public SchemeResultData(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Data> getData() {
        return data;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    public List<FixData> getFixData() {
        return fixData;
    }

    public void setFixData(List<FixData> fixData) {
        this.fixData = fixData;
    }

    public List<Answer> getAnswers() {
        return answers;
    }

    public void setAnswers(List<Answer> answers) {
        this.answers = answers;
    }

}
